let that = this;
export const menuItems = () => {
  return [
    {
      name: "menu2",
      title: "首页",
      src: "/bx-dashboard/imgs/12.png",
      icon: "el-icon-s-home",
      action: () => {
        that.$router.push("/");
      },
    },
    {
      name: "menu1",
      title: "系统设置",
      src: "/bx-dashboard/imgs/12.png",
      icon: "el-icon-setting",
      path: "/System/RoleList",
      action: () => {
        this.$router.push("/System/RoleList");
      },
    },
    {
      name: "menu3",
      title: "退出",
      src: "/bx-dashboard/imgs/12.png",
      icon: "el-icon-position",
      path: "/login",
      action: () => {
        this.$router.push("/System/RoleList");
      },
    },
    // {
    //   name: "menu4",
    //   title: "系统设置",
    //   src: "/bx-dashboard/imgs/12.png",
    //   icon: "",
    // },
    // {
    //   name: "menu5",
    //   title: "系统设置",
    //   src: "/bx-dashboard/imgs/12.png",
    //   icon: "",
    // },
  ];
};
